Why is my json built using PyMySQL returning with duplicate results

welcome to shbcf.ru